package demo04;

public class Main2 {
    public static void main(String[] args) {
        showUsb(new Usb() {
            @Override
            public void show() {
                System.out.println("匿名对象的匿名内部类");
            }
        });
    }

    public static void showUsb(Usb usb) {
        usb.show();
    }
}
